package com.ruoyi.qywx.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

/**
 * @author : hcl
 * @Date : 2023/8/22 15:50
 */
@Data
@TableName("qy_external_contact_follower")
public class ExtFollowContact {
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField(updateStrategy = FieldStrategy.NEVER)
    private String extUserId;
    @TableField(updateStrategy = FieldStrategy.NEVER)
    private String userId;
    private String remark;
    private String description;
    private Date addTime;
    private Date deleteTime;
    /**
     * 是否流失
     * delContact = delFollower = true 时，表示该用户彻底流失
     */
    private Boolean isDelete;
    //    员工主动删除
    private Boolean delContact;
    //    客户主动删除 ，员工好友列表中仍存在该用户
    private Boolean delFollower;
    private String remarkCorpName;
    private String remarkMobiles;
    //    来源渠道
    private String state;
    /**
     * 来源 参考：
     * https://developer.work.weixin.qq.com/document/path/92265#%E6%9D%A5%E6%BA%90%E5%AE%9A%E4%B9%89
     */
    private Integer addWay;
}
